function [ wApply ] = selectSoftBounds(outputOrder, Tp, kroky, promenne )
%[ wApply ] = selectSoftBounds( kroky, promenne )
if(isempty(promenne))
    promenne=logical(ones(outputOrder,1));
end
select=logical(zeros(Tp*outputOrder,1));
for i=kroky
   select((i-1)*outputOrder+1:i*outputOrder)=logical(promenne); 
end
wApply=1:Tp*outputOrder;
wApply=wApply(select);
end